#include "abstractlistitem.h"

AbstractListItem::AbstractListItem() {
}

QString AbstractListItem::name() const {
    return m_name;
}

QString AbstractListItem::color() const {
    return m_color;
}

QString AbstractListItem::number() const {
    return m_number;
}

void AbstractListItem::setName(QString name) {
    if (m_name == name)
        return;

    m_name = name;
    emit nameChanged(m_name);
}

void AbstractListItem::setColor(QString color) {
    if (m_color == color)
        return;

    m_color = color;
    emit colorChanged(m_color);
}

void AbstractListItem::setNumber(QString number) {
    if (m_number == number)
        return;

    m_number = number;
    emit numberChanged(m_number);
}

void AbstractListItem::show1(const QString &string)
{

}
